/* 共通項目 */

/* ヘッダー固定 */
/*========= 上部固定させるためのCSS ===============*/
#header {
    /* height: 70px;
    /*高さ指定*/
    width: 100%;
    background: #ffffff;
    /*横幅指定*/
    /*以下はレイアウトのためのCSS*/
    /* display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 20px;
    */
}

/*JSを使いfixedクラスが付与された際の設定*/
#header.fixed {
    position: fixed;
    /*fixedを設定して固定*/
    z-index: 999;
    /*最前面へ*/
    top: 0;
    /*位置指定*/
    left: 0;
    /*位置指定*/
    width: 100%;
}

.header_middle .top_title {
    display: none;
}

/* ここまでヘッダー固定 */

.about_top_header {
    background-color: #002F79;
    color: #fff;
    text-align: center;
    width: 100%;
    max-width: 1920px;
}

.about_top_header h1 {
    font-size: 2.5rem;
    padding-top: 35px;
}

.about_top_header p {
    padding-top: 10px;
}

.about_top_header p:last-child {
    padding-top: 30px;
    padding-bottom: 50px;
}

.about_top_header p:last-child {
    font-size: 1.5rem;
}

/* エントリー */
.entory {
    margin-top: 120px;
    font-family: 游ゴシック;
    text-align: center;
    margin: 0 5%;
}

.entory .e1 h1 {
    font-family: "Italianno","Adobe Handwriting Ernie", 'BIZ UDPGothic', sans-serif;
    font-size: 3.5rem;
    opacity: 20%;
}

.entory .e1 p {
    font-size: 2rem;
}

.entory .e2 {
    margin-top: 60px;
    font-size: 2.5rem;
    line-height: 65px;
}

.entory .e3 {
    margin-top: 45px;
    font-size: 2rem;
    line-height: 52px;
}

.entory .e4 {
    margin-top: 80px;
}

.entory .e4 img {
    width: 100%;
    max-width: 380px;
}

/* NSKリンク */
.nsk_link {
    margin-top: 200px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.nsk_lin2 {
    display: none;
}

/* 先輩社員を知る */
.s5img {
    display: none;
}

.senior {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

.senior div {
    text-align: center;
}

.senior div img {
    max-width: 611px;
}

.senior img {
    width: 100%;
    margin-top: -90px;
}

.senior div a img {
    width: 40%;
}

.senior {
    margin-top: 200px;
}



@media screen and (max-width:1300px) {
    .nsk_link {
        margin-top: 250px;
    }
}

@media screen and (max-width:1200px) {
    .entory .e2 {
        font-size: 1.625rem;
        line-height: 40px;
    }

    .entory .e3 {
        font-size: 1.625rem;
        line-height: 40px;
    }

    .entory .e4 img {
        max-width: 225px;
    }

    .nsk_link {
        margin-top: 150px;
    }

    footer {
        margin-top: 1500px;
    }
}

@media screen and (max-width:1025px) {
    .entory .e4 img {
        width: 40%;
    }

    .senior div img {
        width: 60%;
    }

    .f1_d1 {
        width: 100%;
    }

    .entory .e2 {
        font-size: 1.625rem;
        line-height: 40px;
        margin-top: 25px;
    }

    .entory .e3 {
        font-size: 1.25rem;
        line-height: 40px;
        margin-top: 15px;
    }

    .entory .e4 {
        margin-top: 40px;
    }

    .entory .e4 img {
        max-width: 225px;
    }

    .nsk_link {
        margin-top: 100px;
    }

    .about_top_header h1 {
        font-size: 2.5rem;
    }

    .about_top_header p {
        font-size: 1rem;
    }

    .about_top_header p:last-child {
        font-size: 1.5rem;
        padding-bottom: 45px;
    }
}

@media screen and (max-width:850px) {

    .entory .e1 h1 {
        font-size: 2rem;
    }

    .entory .e1 p {
        font-size: 1.875rem;
    }
}

@media screen and (max-width:820px) {
    .entory .e4 img {
        width: 60%;
    }

    .nsk_link {
        flex-direction: column;
        display: flex;
        text-align: center;
        margin-top: 115px;
    }

    .nsk_link img {
        width: 60%;
    }

    .senior img {
        width: 100%;
    }

    .senior div img {
        width: 50%;
    }
}


@media screen and (max-width:768px) {

    .entory .e1 h1 {
        font-size: 2rem;
    }

    .entory .e1 p {
        font-size: 1.875rem;
    }

    .entory .e2 {
        font-size: 2.5rem;
        margin-top: 25px;
    }

    .entory .e2 p {
        font-size: 1.25rem;
        line-height: 35px;
    }

    .entory .e3 {
        margin-top: 25px;
    }

    .entory .e3 p {
        font-size: 1rem;
        line-height: 35px;
    }

    .entory .e4 {
        margin-top: 50px;
    }

    .entory .e4 img {
        width: 30%;
    }

    .senior {
        margin-top: 65px;
    }

    .senior div {
        margin-top: 20px;
    }

    .nsk_link {
        margin-top: 70px;
    }

    .header_middle .top_title {
        display: block;
    }

    .about_top_header h1 {
        font-size: 1.625rem;
        padding-top: 17px;
    }

    .about_top_header p {
        font-size: 0.7rem;
        padding-top: 5px;
    }

    .about_top_header p:last-child {
        font-size: 1rem;
        padding-top: 15px;
        padding-bottom: 25px;
    }

}

@media screen and (max-width:700px) {
    .e2 p {
        font-size: 1.875rem;
        line-height: 30px;
    }

    .e3 p {
        font-size: 0.9rem;
        line-height: 25px;
    }

    .senior {
        margin-top: 110px;
    }

    .tab li a {
        padding: 7px 7px;
    }
}

@media screen and (max-width:550px) {
    footer {
        margin-top: 120px;
    }

    .entory .e1 h1 {
        font-size: 1rem;
    }

    .entory .e1 p {
        font-size: 1.25rem;
    }

    .e2 p {
        font-size: 1rem;
    }

    .entory .e4 {
        margin-top: 25PX;
    }

    .entory .e2 p {
        font-size: 1rem;
        line-height: 20px;
    }

    .entory .e3 p {
        font-size: 0.8rem;
        line-height: 20px;
    }

    .senior div {
        margin-top: 15px
    }

    .Block2::after {
        height: 630px;
    }

    .about_top_header h1 {
        font-size: 1.5rem;
    }

    .about_top_header p {
        font-size: 0.7rem;
    }

    .about_top_header p:last-child {
        font-size: 1rem;
    }
}

@media screen and (max-width:420px) {
    .e2 p {
        line-height: 35px;
        font-size: 1.25rem;
    }

    .e3 p {
        font-size: 0.8rem;
        line-height: 25px;
    }

    .entory .e2 {
        margin-top: 30px;
    }

    .entory .e1 p {
        font-size: 1.25rem;
    }

    .entory .e2 p {
        font-size: 0.7rem;
        line-height: 21px;
        margin-top: 15px;
    }

    .entory .e3 p {
        font-size: 0.5rem;
        line-height: 18px;
        word-break: keep-all;
    }

    .entory .e3 {
        margin-top: 20px;
    }

    .entory .e4 img {
        width: 35%;
    }

    .entory .e4 {
        margin-top: 20px;
    }


    .nsk_lin2 {
        width: 100%;
        margin-top: 100px;
        display: block;
    }

    .nsk_lin2 img:nth-child(2) {
        margin-top: 20px;
    }

    .nsk_link img {
        width: 80%;
    }


    .senior {
        margin-top: 100px;
    }

    .senior div {
        margin-top: 30px;
    }

    .senior div img {
        width: 70%;
    }

    .s6_d2 .p0 {
        font-size: 1.5rem;
        margin-right: -30px;
    }

    .section_6 .p8 {
        font-size: 2rem;
    }

    .section_6 .p6 {
        font-size: 1.5rem;
    }

    .section_6 .p5 {
        font-size: 1.5rem;
    }

    .section_6 .p3 {
        font-size: 0.9rem;
        margin: 30px 4% 0;
    }

    .Block2::after {
        height: 630px;
    }

    .f1_d1 img {
        width: 70%;
        margin-top: 35px;
    }

    .f2_d1 img {
        width: 30%;
    }

    .f2_d1 .sns {
        margin-top: 0;
    }

    footer {
        height: 535px;
    }

    .about_top_header h1 {
        font-size: 1.25rem;
    }

    .about_top_header p {
        font-size: 0.6px;
        padding-top: 8px;
    }

    .about_top_header p:last-child {
        font-size: 0.9rem;
    }
}

@media screen and (max-width:400px) {

    .f1_d1 img {
        width: 70%;
    }

    .f2_d1 img {
        width: 30%;
    }

    .f2_d1 .sns {
        margin-top: 0;
    }


}

@media screen and (max-width:380px) {
    .senior div {
        margin-top: 20px;
    }

    .Block2::after {
        height: 525px;
    }

    .f1_d1 img {
        width: 70%;
    }

    footer {
        height: 500px;
    }

    .s6_d2 img {
        width: 250px;
        height: 60px;
        margin-top: 30px;
    }
}